<form action="{:url()}" method="post" class="form_single">
    <div class="box">
      <div class="box-body">
        <div class="row">
          <div class="col-md-6">
            <div class="form-group">
              <label>名称</label>
              <span>（广告分类名称）</span>
              <input class="form-control" name="title" placeholder="请输入广告分类名称" value="{$info['title']|default=''}" type="text">
            </div>
          </div>
          <div class="col-md-6">
            <div class="form-group">
              <label>所属商品分类</label>
              <span class="">（商品分类）</span>
              <select name="catid" class="form-control">
                <option value="">无</option>
                {volist name='cat_list' id='vo'}
                <option value="{$vo['id']}" {notempty name="info['catid']"}{if condition="$info['catid'] eq $vo['id']"} selected="selected" {/if}{/notempty} >{$vo['title']}</option>
                {/volist}
              </select>
            </div>
          </div>
		  <div class="col-md-6">
            <div class="form-group">
              <label>排序</label>
              <span>（广告分类排序）</span>
              <input class="form-control" name="sort" placeholder="请输入广告分类排序" value="{$info['sort']|default='0'}" type="text">
            </div>
          </div>
            
          <!-- <div class="col-md-6">
            <div class="form-group">
              <label>图标</label>
              <span>（广告分类图标）</span>
                {assign name="icon" value="$info.icon|default=''" /}
                {:widget('icon/index', ['name' => 'icon', 'value' => $icon])}
            </div>
          </div>
            
          <div class="col-md-6">
            <div class="form-group">
                <label>描述</label>
                <span>（广告分类描述）</span>
                <textarea class="form-control" name="describe" rows="3" placeholder="请输入广告分类描述">{$info['describe']|default=''}</textarea>
            </div>
          </div> -->
          </div>
        </div>
        
      <div class="box-footer">
          
        <input type="hidden" name="id" value="{$info['id']|default='0'}"/>
        
        {include file="layout/edit_btn_group"/}
        
      </div>
        
      </div>

</form>